package design.patterns.statemode;

/**
 * desc     : 环境角色
 * dateTime : 2020-06-13 21:38
 *
 * @author wwchen
 */
public class Context {
    private State state;
    public void sampleOperation(){
        state.sampleOperation();
    }

    public void setState(State state) {
        this.state = state;
    }
}
